<@override name="title">主页</@override>
<@override name="body">
<body class="fixed-sidebar full-height-layout gray-bg" style="overflow:hidden">
<div id="wrapper">
    <!--左侧导航开始-->
    <nav class="navbar-default navbar-static-side" role="navigation">
        <div class="nav-close"><i class="fa fa-times-circle"></i>
        </div>
        <div class="sidebar-collapse">
            <ul class="nav" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element">
                            <span>
                                <img alt="image" class="img-circle" src="${base}/resources/admin/img/profile_small.jpg" />
                            </span>
                        <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <span class="clear">
                                    <span class="block m-t-xs">
                                        <strong class="font-bold"></strong>
                                    </span>
                                    <span class="text-muted text-xs block">
                                        超级管理员
                                        <b class="caret"></b>
                                    </span>
                                </span>
                        </a>
                        <ul class="dropdown-menu animated fadeInRight m-t-xs">
                            <li><a class="J_menuItem" href="${base}/manage/admin/change.html">修改密码</a>
                            </li>
                            <li class="divider"></li>
                            <li><a href="${base}/admin/login/index.html">安全退出</a>
                            </li>
                        </ul>
                    </div>
                    <div class="logo-element">oa系统
                    </div>
                </li>
                <li>
                    <a class="J_menuItem" href="${base}/manage/welcome/main.html"><i class="fa fa-home"></i> <span class="nav-label">首页</span></a>
                </li>
                <#list ["admin:user","admin:department","admin:position"] as pre>
                <@shiro.hasPermission name=pre>
                <li>
                    <a href="javascript:;">
                        <i class="fa fa-user"></i>
                        <span class="nav-label">人员设置</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <@shiro.hasPermission name="admin:user">
                        <li>
                            <a href="${base}/manage/user/index.html" class="J_menuItem">
                                人员设置
                            </a>
                        </li>
                        </@shiro.hasPermission>
                        <@shiro.hasPermission name="admin:department">
                        <li>
                            <a href="${base}/manage/department/index.html" class="J_menuItem">
                                部门设置
                            </a>
                        </li>
                        </@shiro.hasPermission>
                        <@shiro.hasPermission name="admin:position">
                        <li>
                            <a href="${base}/manage/position/index.html" class="J_menuItem">
                                岗位设置
                            </a>
                        </li>
        </@shiro.hasPermission>
                    </ul>
                </li>
                <#break/>
                </@shiro.hasPermission>
                </#list>
                <#list ["official:configuration","official:transaction","official:transect","official:read","official:monitoring","official:myOfficial"] as pres>
                <@shiro.hasPermission name=pres>
                <li>
                    <a href="javascript:;">
                        <i class="fa fa-calendar"></i>
                        <span class="nav-label">公文管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                    <@shiro.hasPermission name="official:configuration">
                        <li>
                            <a href="${base}/manage/appsType/index.html" class="J_menuItem">公文配置</a>
                        </li>
                    </@shiro.hasPermission>
                    <@shiro.hasPermission name="official:transaction">
                        <li>
                            <a href="${base}/manage/apps/type.html" class="J_menuItem">拟办公文</a>
                        </li>
                    </@shiro.hasPermission>
                    <@shiro.hasPermission name="official:transect">
                        <li>
                            <a href="${base}/manage/apps/transect.html" class="J_menuItem">办理公文</a>
                        </li>
                    </@shiro.hasPermission>
                    <@shiro.hasPermission name="official:red">
                        <li>
                            <a href="javascript:;" class="J_menItem">公文阅读</a>
                        </li>
                        </@shiro.hasPermission>
                        <@shiro.hasPermission name="official:monitoring">
                        <li>
                            <a href="javascript:;" class="J_menuItem">我的公文</a>
                        </li>

                        </@shiro.hasPermission>
                        <@shiro.hasPermission name="official:myOfficial">
                        <li>
                            <a href="javascript:;" class="J_menItem">公文监控</a>
                        </li>
                        </@shiro.hasPermission>
                    </ul>
                </li>
                <#break/>
                </@shiro.hasPermission>
                </#list>
                <#list ["role:set"] as pres>
                <@shiro.hasPermission name=pres>
                <li>
                    <a href="javascript:;">
                        <i class="fa fa-at"></i>
                        <span class="nav-label">权限设置</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                        <@shiro.hasPermission name="role:set">
                        <li>
                            <a href="${base}/manage/role/index.html" class="J_menuItem">权限列表</a>
                        </li>
                        </@shiro.hasPermission>
                    </ul>
                </li>
                <#break/>
                </@shiro.hasPermission>
                </#list>
                <#list ["role:new","role:agency","role:myFlow","role:monitoring","role:entrust","role:set"] as pres>
                <@shiro.hasPermission name=pres>
                <li>
                    <a href="javascript:;">
                        <i class="fa fa-stack-overflow"></i>
                        <span class="nav-level">流程管理</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                    <@shiro.hasPermission name="role:new">
                        <li>
                            <a href="javascript:;" class="J_menuItem">新建流程</a>
                        </li>
                    </@shiro.hasPermission>
                    <@shiro.hasPermission name="role:agency">
                        <li>
                            <a href="javascript:;" class="J_menuItem">代办流程</a>
                        </li>
                        </@shiro.hasPermission>
                        <@shiro.hasPermission name="role:myFlow">
                        <li>
                            <a href="javascript:;" class="J_menuItem">我的流程</a>
                        </li>
                        </@shiro.hasPermission>
                        <@shiro.hasPermission name="role:monitoring">
                        <li>
                            <a href="javascript:;" class="J_menuItem">流程监控</a>
                        </li>
                        </@shiro.hasPermission>
                        <@shiro.hasPermission name="role:entrust">
                        <li>
                            <a href="javascript:;" class="J_menuItem">流程委托</a>
                        </li>
                        </@shiro.hasPermission>
                        <@shiro.hasPermission name="role:set">
                        <li>
                            <a href="javascript:;" class="J_menuItem">流程设置</a>
                        </li>
                        </@shiro.hasPermission>
                    </ul>
                </li>
                <#break/>
                </@shiro.hasPermission>
                </#list>
                <#list ["system:set","system:backups","system:module"] as pres>
                <@shiro.hasPermission name=pres>
                <li>
                    <a href="#">
                        <i class="fa fa-gear"></i>
                        <span class="nav-label">系统设置</span>
                        <span class="fa arrow"></span>
                    </a>
                    <ul class="nav nav-second-level">
                    <@shiro.hasPermission name="system:set">
                        <li><a class="J_menuItem" href="${base}/manage/mobile/index.html">系统设置</a></li>
                    </@shiro.hasPermission>
                    <@shiro.hasPermission name="system:backups">
                        <li><a href="javascript:;" class="J_menuItem">数据备份</a></li>
                    </@shiro.hasPermission>
                    <@shiro.hasPermission name="system:module">
                        <li><a class="J_menuItem" href="${base}/manage/admin/change.html">组件安装</a></li>
                    </@shiro.hasPermission>
                        <!-- <li><a class="J_menuItem" href="#">广告</a></li> -->
                    </ul>
                </li>
                <#break/>
                </@shiro.hasPermission>
                </#list>
            </ul>

        </div>
    </nav>
    <!--左侧导航结束-->
    <!--右侧部分开始-->
    <div id="page-wrapper" class="gray-bg dashbard-1">
        <div class="row border-bottom">
            <nav class="navbar navbar-static-top" role="navigation" style="margin-bottom: 0">
                <div class="navbar-header">
                    <a class="navbar-minimalize minimalize-styl-2 btn btn-primary " href="#"><i class="fa fa-bars"></i>
                    </a>
                </div>
            </nav>
        </div>
        <div class="row content-tabs">
            <button class="roll-nav roll-left J_tabLeft"><i class="fa fa-backward"></i>
            </button>
            <nav class="page-tabs J_menuTabs">
                <div class="page-tabs-content">
                    <a href="javascript:;" class="active J_menuTab" data-id="${base}/manage/welcome/main.html">首页</a>
                </div>
            </nav>
            <button class="roll-nav roll-right J_tabRight"><i class="fa fa-forward"></i>
            </button>
            <div class="btn-group roll-nav roll-right">
                <button class="dropdown J_tabClose" data-toggle="dropdown">关闭操作<span class="caret"></span>
                </button>
                <ul role="menu" class="dropdown-menu dropdown-menu-right">
                    <li class="J_tabShowActive"><a>定位当前选项卡</a>
                    </li>
                    <li class="divider"></li>
                    <li class="J_tabCloseAll"><a>关闭全部选项卡</a>
                    </li>
                    <li class="J_tabCloseOther"><a>关闭其他选项卡</a>
                    </li>
                </ul>
            </div>
            <a href="${base}/admin/login/index.html" class="roll-nav roll-right J_tabExit"><i class="fa fa fa-sign-out"></i> 退出</a>
        </div>
        <div class="row J_mainContent" id="content-main">
            <iframe class="J_iframe" name="iframe0" width="100%" height="100%" src="${base}/manage/welcome/main.html" frameborder="0" data-id="${base}/manage/welcome/main.html" seamless></iframe>
        </div>
        <div class="footer">
            <div class="pull-right">&copy;  2015-2016 All Rights Reserved. JeekCloud.
            </div>
        </div>
    </div>
    <!--右侧部分结束-->
</div>
</body>
</@override>
<@override name="script">
<script src="${base}/resources/admin/js/hplus.js"></script>
</@override>
<@extends name="../base/main.html"/>